package org.cx.oa.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * AbstractRighte entity provides the base persistence definition of the Righte
 * entity. @author MyEclipse Persistence Tools
 */

public class Righte implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	private Integer rightId;
	private String rightContext;
	private String superior;
	private String url;
	private List<Righte> rightes =new ArrayList<Righte>();

	// Constructors

	/** default constructor */
	public Righte() {
	}

	/** minimal constructor */
	public Righte(String rightContext) {
		this.rightContext = rightContext;
	}


	public Integer getRightId() {
		return this.rightId;
	}

	public void setRightId(Integer rightId) {
		this.rightId = rightId;
	}


	public String getRightContext() {
		return this.rightContext;
	}

	public void setRightContext(String rightContext) {
		this.rightContext = rightContext;
	}

	public List<Righte> getRightes() {
		return this.rightes;
	}

	public void setRightes(List<Righte> rightes) {
		this.rightes = rightes;
	}

	/**
	 * @return the superior
	 */
	public String getSuperior() {
		return superior;
	}

	/**
	 * @param superior the superior to set
	 */
	public void setSuperior(String superior) {
		this.superior = superior;
	}

	/**
	 * @return the url
	 */
	public String getUrl() {
		return url;
	}

	/**
	 * @param url the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}

}